<html>

<head>
  <title></title>
</head>

<body>

<?php

	echo "<h2>Current Base (".$VARS[basestatus][field][name].") status: </h2>";



    if (is_array($VARS[basestatus][planes]) and count($VARS[basestatus][planes]) > 0)
	    echo "Planes in Hangar: ".implode(", ",$VARS[basestatus][planes]);

	echo "Fuel: ".$VARS[basestatus][field][fuel]."\r\n<br>";
	echo "Ammo: ".$VARS[basestatus][field][ammo]."\r\n<br>";
	echo "Repair: ".$VARS[basestatus][field][repair]."\r\n<br>";

    echo "\r\n<br>";

    echo "Squads on this base: ";

    echo implode(",",$VARS[basestatus][squads]);

?>

</body>

</html>